package com.ttbj.rule.service;

import java.util.concurrent.Callable;

import com.ttbj.product.bean.dto.CargoDto;
import com.ttbj.rule.po.CarriageRule;

 
 

public interface BillService extends Callable<Float>{
	
		
	    @Override
	    Float call() throws Exception;
	    /**
		 * 计算费用
		 * @return
	     * @throws Exception 
		 */
	    Float getCarriage() throws Exception;
	    
	    /**
	     * 计算费用 
	     * @param bill
	     * @param cargoDto
	     * @throws Exception 
	     */
	    Float getCarriage(Float distance,CarriageRule bill, CargoDto cargoDto) throws Exception;

}
